package com.service.khqy;

import com.bpms.common.CommonUtil;
import com.bpms.common.Dict;
import com.bpms.common.VO;
import com.bpms.esb.IService;

public class Getidtype implements IService {

	public VO exec(VO vo) {
		VO v = new VO();
		try{
			String idtype1=Dict.getValue("IDTYPE","1" );
			String idtype2=Dict.getValue("IDTYPE","2" );
			String idtype3=Dict.getValue("IDTYPE","3" );
			v.setAttr("idtype1", idtype1);
			v.setAttr("idtype2", idtype2);
			v.setAttr("idtype3", idtype3);
			
			v.setAttr("result", "1");
			v.setAttr("msg", "获取证件类型成功");
		}catch (Exception e) {
			CommonUtil.debug("Getidtype exception", e);
			
			v.setAttr("result", "9999");
			v.setAttr("msg", "访问数据库失败");
		}
		
		return v;
		
	}

}
